//
//  MainScrollViewPage3.m
//  HappyBug
//
//  Created by liulei on 2018/10/31.
//  Copyright © 2018年 www.hc.com.cn. All rights reserved.
//

#import "MainScrollViewPage3.h"
#import "blockButtonView.h"
@interface MainScrollViewPage3 ()

@end

@implementation MainScrollViewPage3

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor whiteColor]];
    
    UILabel *label =[[UILabel alloc]initWithFrame:CGRectMake(30, 40,self.view.frame.size.width-30*2, 30)];
    label.text=@"Page3";
    label.font=[UIFont systemFontOfSize:13];
    [self.view addSubview:label];
    
    
    
    blockButtonView *buttonview =[[blockButtonView alloc]initWithFrame:CGRectMake(30,90, 120, 30)];
    buttonview.clickbuttonblock = ^{
        [self lognss];
    };
    [self.view addSubview:buttonview];
    
    
    
}
-(void)lognss{
    
    NSLog(@"1111");
}

@end
